package com.steam.video;

import android.view.Surface;

public class Player {
    static {
        System.loadLibrary("player");
    }

    public static native void createRTMP(Surface surface, String address1, String address2, VideoListener listener);

    public static native void createTCP(Surface surface, String address1, String address2, int port1, int port2, VideoListener listener);

    public static native void startPlay();

    public static native void stopPlay();

    public static native void destroy();

    public static native void switchSteam();

    public static native int activeIndexSteam();
}